﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace HealthcareSystem.Domain.ChronicDiseaseManagement
{
    /// <summary>
    /// 饮食方案
    /// </summary>
    [Table("dietplan")]
    public class Dietplan
    {
        [Key]
        /// <summary>
        /// 饮食方案主键
        /// </summary>
        public int DietId {  get; set; }
        /// <summary>
        /// 日摄脂肪量
        /// </summary>
        public double Adipose { get; set; }
        /// <summary>
        /// 日摄盐量
        /// </summary>
        public double Salt {  get; set; }
        /// <summary>
        /// 日摄蛋白质量
        /// </summary>
        public double Protein { get; set; }
        /// <summary>
        /// 日摄碳水量
        /// </summary>
        public double Carbohydrate {  get; set; }
        /// <summary>
        /// 日饮酒量
        /// </summary>
        public double Alcohol {  get; set; }
        /// <summary>
        /// 日吸烟量
        /// </summary>
        public double Smoke {  get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime CreateTime {  get; set; } = DateTime.Now;
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime EndTime { get; set; } = DateTime.Now;
    }
}
